<%@ page import="com.java.bean.User" %><%--
  Created by IntelliJ IDEA.
  User: 14258
  Date: 2020/9/2
  Time: 0:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>TL表达式练习</title>
</head>
<body>
<%
    User user = new User();
    user.setUserId(1001);
    user.setUserName("王嘉睿");
    pageContext.setAttribute("u1",user);
%>
    ${u1.userId}
</body>
</html>
